<html>
<head>
<title>Register New User</title>
<style>
dd {
	text-align: left;
	margin-left: 80px;
	margin-top: 5px;
}
</style>
</head>
<body>
	<h1>Register New User</h1>
	<g:hasErrors bean="${donor}">
		<div class="errors">
			<g:renderErrors bean="${donor}" as="list" />
		</div>
	</g:hasErrors>
	<g:form action="register">
		<dl>
			<dt>Username</dt>
			<dd>
				<g:textField name="username" value="${donor?.username}" />
			</dd>
			<dt>Password</dt>
			<dd>
				<g:passwordField name="password" value="${donor?.password}" />
			</dd>
			<dt>(repeat)</dt>
		
			<dt>Name</dt>
			<dd>
				<g:textField name="Name" value="${donor?.Name}" />
			</dd>
			<dt>Bio</dt>
			<dd>
				<g:textArea name="bio" value="${donor?.bio}" />
			</dd>
			<dt>Email</dt>
			
				<g:submitButton name="register" value="Register" />
			
		</dl>
	</g:form>
</body>
</html>